using System;
using System.Collections.Generic;

namespace Data.Models
{
    public partial class BillOut
    {
        public BillOut()
        {
            this.BillDetails = new List<BillDetail>();
            this.MaterialDetails = new List<MaterialDetail>();
        }

        public int ID { get; set; }
        public string Code { get; set; }
        public Nullable<int> OrderID { get; set; }
        public Nullable<int> User1ID { get; set; }
        public Nullable<int> User2ID { get; set; }
        public Nullable<System.DateTime> Date1 { get; set; }
        public Nullable<System.DateTime> Date2 { get; set; }
        public Nullable<double> TotalMoney { get; set; }
        public string Description { get; set; }
        public Nullable<int> WarehouseID { get; set; }
        public virtual ICollection<BillDetail> BillDetails { get; set; }
        public virtual Order Order { get; set; }
        public virtual Employee Employee { get; set; }
        public virtual Employee Employee1 { get; set; }
        public virtual Stock Stock { get; set; }
        public virtual ICollection<MaterialDetail> MaterialDetails { get; set; }
    }
}
